{include file="header.html"}

<div class="page-header">
	<h6>
		系统设置
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			参数设置
		</small>
	</h6>
</div><!-- /.page-header -->
<div class="row">
<div class="col-xs-12">
	<form class="form-horizontal" role="form" method="post" action="?app=setting&act=configs_edit" enctype="multipart/form-data">
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="id"> ID </label>
			<div class="col-sm-10">
				<input type="text" id="id" name="id" readonly="" value="{$row->id}" class="col-xs-2" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="id"> 参数名称 </label>
			<div class="col-sm-10">
				<input type="text" id="name" name="name" value="{$row->name}" readonly class="col-xs-2" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="id"> 参数标识 </label>
			<div class="col-sm-10">
				<input type="text" id="memo" name="memo" value="{$row->memo}" class="col-xs-2" />
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="tel" id="me"> {$row->memo} </label>
			<div class="col-sm-10">
				<textarea class="form-control" id="content" name="content" rows="5">{$row->content}</textarea> 
			</div>
		</div>

		<div class="clearfix form-actions">
			<div class="col-md-offset-3 col-md-9">
				<button class="btn btn-info" type="submit">
					<i class="ace-icon fa fa-check bigger-110"></i>
					提交 
				</button>

				&nbsp; &nbsp; &nbsp;
				<button class="btn" type="reset">
					<i class="ace-icon fa fa-undo bigger-110"></i>
					重置
				</button> 
				&nbsp; &nbsp; &nbsp;
				{if $msg==1}<font color=red>修改成功</font>{/if}
			</div>
		</div>
	</form>
</div>
</div>

{include file="footer.html"}

<script type="text/javascript">
$(function(){
		$("#memo").blur(function(){
			var a = $(this).val();
			$("#me").text(a);
		})
	
})
</script>
